//
//  CTPublishImageView.h
//  ConstellationTalk_0.1
//
//  Created by riley on 15/5/15.
//  Copyright (c) 2015年 riley chu. All rights reserved.
//

#import <UIKit/UIKit.h>
@class CTTopic,CTFollowList;
@protocol CTPublishImageViewDelegate;

@interface CTPublishImageView : UIView

@property (nonatomic, setter=setPublishImage:) UIImage  *publishImage;
@property (nonatomic, setter=setSynchronizationBool:) BOOL synBool;
@property (nonatomic, setter=setTopicArray:) NSArray *topicArray;
@property (nonatomic, setter=setTopicView:) CTFollowList * followListItem;
@property (nonatomic, assign)id<CTPublishImageViewDelegate>delegate;

@end

@protocol CTPublishImageViewDelegate <NSObject>
//返回
- (void)publishImageViewBackBtnAction:(CTPublishImageView *) view;
//发送
- (void)publishImageViewSendBtnAction:(CTPublishImageView *)view;
//是否同步到微博
- (void)publishImageViewSynchronizationBtnAction:(CTPublishImageView *)view withPublishBool:(BOOL) publishBool;
//发送附带文字
- (void)publishImageViewPublishTextView:(CTPublishImageView *)view withStr:(NSString *)publishStr;
//点击话题
- (void)publishImageViewHitTopicAction:(CTPublishImageView *) view withItem:(CTTopic *)item;

/***********************************分享*********************************/

//分享到微信朋友圈
- (void)publishImageViewShareToWechatFriends:(CTPublishImageView *) view withImage:(UIImage *)image;
//分享到QQ空间
- (void)publishImageViewShareToQQSpace:(CTPublishImageView *)view withImage:(UIImage *)image;
//分享到新浪微博
- (void)publishImageViewShareToSina:(CTPublishImageView *)view withImage:(UIImage *)image;
//分享到微信
- (void)publishImageViewShareToWeChat:(CTPublishImageView *)view withImage:(UIImage *)image;
//分享到QQ
- (void)publishImageViewShareToQQ:(CTPublishImageView *)view withImage:(UIImage *)image;
//保存到本地
- (void)publishImageViewShareToSave:(CTPublishImageView *)view withImage:(UIImage *)image;


@end

